<?php
namespace app\admin\controller;
use app\admin\logic\UserLogic;

/**
 * @Author: K.EL
 * @Date:   2020-07-19 23:53:55
 * @Last Modified by:   K.EL
 * @Last Modified time: 2020-07-24 14:02:31
 */
class User extends Base{

	function getInfo(){
		return UserLogic::getInfo();
	}

	function getInfoById(){
		return UserLogic::getInfoById();
	}

	function getLists(){
		return UserLogic::getLists();
	}

	function add(){
		return UserLogic::add();
	}

	function edit(){
		return UserLogic::edit();
	}

	//登录用户修改自己的信息
	function toupdate(){
		return UserLogic::update();
	}
}